package com.mz.ozy.mvp.view;

import android.app.Activity;
import android.content.Context;

import com.mz.ozy.base.BasePresenter;
import com.mz.ozy.base.BaseView;
import com.mz.ozy.bean.GoodsCategoryBean;
import com.mz.ozy.bean.GoodsListBean;
import com.mz.ozy.bean.MeBean;
import com.mz.ozy.bean.ObShopBean;
import com.mz.ozy.bean.TwoTitleBean;

/**
 * @author
 * @date 2018/7/25
 * @description
 */
public class GoodsListContract {
    public interface View extends BaseView {
        void getSearchGoodSuccess(GoodsListBean bean);

        void getGoodsCategoryData(GoodsCategoryBean bean);

        void getGoodsTopicData(GoodsCategoryBean bean);

        void getTwoTitleSuccess(TwoTitleBean bean);

        void showListData(GoodsListBean bean);

        //void getMyMeInfoSuccess(MeBean bean);
    }

    public interface Presenter extends BasePresenter<View> {
        void onSearchGood(Activity activity, String cid, String type, String amtType, String orderBy, String orderType, String pageNo);

        void onSearchGoodByTopic(Activity activity, String cid, String pageNo);

        void onSearchGoodByKey(Activity activity, String content, String type, String amtType, String orderBy, String orderType, String pageNo);

        void getGoodsCategory(Context context);

        void getGoodsTopic(Context context);

        void getTwoTitle(Context context,String id);

        void getListData(Context context, String page, String orderBy, String type, String content, String orderType);

        //void getMeInfo(Activity activity, boolean isShow);
    }


}
